<script setup lang="ts">
  import { useRouter} from "vue-router"; //路由
  const router = useRouter(); // 路由
  function jump(url){
    router.push(url);
  }
</script>
<template>
<div>
<a-button type="link" @click="jump('/login')">登录</a-button> | 
<a-button type="link" @click="jump('/regist')">注册</a-button> | 
<a-button type="link" @click="jump('/example')">example</a-button>
</div>
</template>
<style scoped>

</style>
